package com.huzz.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

/**
* 系统部门 查询Model
*
* @author 童年的纸飞机
* @since 2023-06-07 11:25
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Builder
@ApiModel("系统部门 查询Model Args")
public class SysDepartmentQueryModel implements Serializable {

    @ApiModelProperty(value = "ID数组")
	private Integer[] ids;

    @ApiModelProperty(value = "部门名称")
    private String name;

    @ApiModelProperty(value = "状态(1开启,0关闭)")
    private Integer status;

    @ApiModelProperty(value = "父级id(默认0为根部门)")
    private Integer parentId;

    @ApiModelProperty(value = "部门电话")
    private String phone;

    @ApiModelProperty(value = "按时间区间查询: ['开始时间', '结束时间']")
    private String[] timeInterval;
}